<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={APP_CHARSET}">
<style type="text/css">
BODY {
	BACKGROUND: url(bg_repx_h.gif) #f2f9fd no-repeat right top; FONT: 12px "Lucida Grande", Verdana, Lucida, Helvetica, Arial,sans-serif; WIDTH: 159px; COLOR: #666;	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
A {
	COLOR: #2366a8; TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
UL {
	 LIST-STYLE-TYPE: none; POSITION: absolute;
}
LI {
	FONT-WEIGHT: 700; FONT-SIZE: 12px; MARGIN: 1px 0px; OVERFLOW: hidden; HEIGHT: 24px
}
LI A {
	BORDER-RIGHT: #f2f9fd 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #f2f9fd 1px solid; DISPLAY: block; BACKGROUND: url(bg_repno.gif) no-repeat 10px -40px; PADDING-BOTTOM: 2px; BORDER-LEFT: #f2f9fd 1px solid; COLOR: #666; MARGIN-RIGHT: 2px; PADDING-TOP: 4px; BORDER-BOTTOM: #f2f9fd 1px solid
}
LI A:hover {
	BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #b5cfd9 1px solid; BACKGROUND: #fff; BORDER-LEFT: #b5cfd9 1px solid; MARGIN-RIGHT: 0px; BORDER-BOTTOM: #b5cfd9 1px solid; TEXT-DECORATION: none
}
LI A.tabon {
	BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #b5cfd9 1px solid; BACKGROUND: url(bg_repy.gif) #fff repeat-y; BORDER-LEFT: #b5cfd9 1px solid; COLOR: #2366a8; MARGIN-RIGHT: 0px; BORDER-BOTTOM: #b5cfd9 1px solid; TEXT-DECORATION: none
}
.footer {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 10px; Z-INDEX: 10; RIGHT: 13px; BACKGROUND: url(bg_repx.gif) repeat-x 0px -199px; PADDING-BOTTOM: 5px; BOTTOM: 0px; LINE-HEIGHT: 150%; PADDING-TOP: 5px; FONT-FAMILY: Arial, sans-serif; POSITION: absolute
}
</style>
<link type="text/css" href="js/jqueryui/jqueryui.css" rel="stylesheet" />	
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jqueryui.js"></script>
<script type="text/javascript">
	$(function(){
		$("#accordion").accordion({ header: "h2" });
	});
</script>

</head>

<body>

<div id="accordion">
		<h2><a href="#">系统设置</a></h2>
		<ul>
			<li><a href="index.php?c=admin_setting&a=base" target="main">基本设置</a> </li>
			<li><a href="index.php?c=admin_setting&a=time" target="main">时间设置</a> </li>
			<li><a href="index.php?c=admin_setting&a=register" target="main">注册设置</a> </li>
			<li><a href="index.php?c=admin_setting&a=mail" target="main">邮件设置</a> </li>
			<li><a href="index.php?c=admin_setting&a=seo" target="main">seo设置</a> </li>
		</ul>
		<h2><a href="#">内容管理</a></h2>
		<ul>
			<li><a href="index.php?c=admin_event&a=add" target="main">添加活动</a> </li>
			<li><a href="index.php?c=admin_event" target="main">活动管理</a> </li>
		</ul>
		<h2><a href="#">用户权限</a></h2>
		<ul>
			<li><a href="index.php?c=admin_user&a=add" target="main">添加用户</a> </li>
			<li><a href="index.php?c=admin_user" target="main">用户管理</a> </li>
			<li><a href="index.php?c=admin_usergroup" target="main">用户组权限</a></li>
		</ul>
		<h2><a href="#">用户模型</a></h2>
		<ul>
			<li><a href="index.php?c=admin_field&a=add" target="main">添加字段</a> </li>
			<li><a href="index.php?c=admin_field" target="main">模型管理</a> </li>
		</ul>
		<h2><a href="#">系统工具</a></h2>
		<ul>
			<li><a href="index.php?c=admin_setting&a=cache" target="main">更新缓存</a> </li>
			<li><a href="index.php?c=admin_db&a=tablelist" target="main">数据状态</a> </li>
		</ul>

</div>
<div class="footer"> Powered by <a href="http://www.tipask.com/" target="_blank">Tipask</a> {APP_VERSION}  <br>	&copy; 2009-2012  </div>
<script type="text/javascript">
	function cleartabon() {
		if(lastmenu) {
			lastmenu.className = '';
		}
		for(var i = 0; i < menus.length; i++) {
			var menu = menus[i];
			if(menu.className == 'tabon') {
				lastmenu = menu;
			}
		}
	}
	var menus = document.getElementById('accordion').getElementsByTagName('a');
	var lastmenu = '';
	for(var i = 0; i < menus.length; i++) {
		var menu = menus[i];
		menu.onclick = function() {
			setTimeout('cleartabon()', 1);
			this.className = 'tabon';
			this.blur();
		}
	}

	cleartabon();
</script>

</body>

</html>
